package demo.zzz.com.captureactivity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.webkit.WebView;

public class WebViewActivity extends AppCompatActivity {
    private WebView webView;
    public static final String RESULT = "result_data";
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate( savedInstanceState );
        setContentView( R.layout.activity_web_view );
        initViews();
    }
    private void initViews(){
        webView = findViewById(R.id.webView);
        Intent intent = getIntent();
        String result = intent.getStringExtra(RESULT);
        webView.loadUrl(result);
    }
}
